# CMakeLists
# Author(s): xuming.Wong <xuming.Wong@gmail.com>

#-----------------------------------------------------------------------------
# Third party dependency CEGUIBase
# Setup the cegui base lib sources

FILE(GLOB SRC *.cpp elements/*.cpp falagard/*.cpp minizip/*.cpp)

SET(INC .
	elements
	falagard
	minizip
	
	${LIBDIR}/CeguiDependencies/include
)

#add win32 preprocessors
if(WIN32)
#add this processor for have CEGUI include config.h
add_definitions(-DHAVE_CONFIG_H)
add_definitions(-DPCRE_STATIC)
endif()

BUILD_LIB(CEGUIBase "${SRC}" "${INC}")

